package com.activiti.z_six.mapper.taskAssigneeMapper;

import com.activiti.z_six.entity.taskAssignee.SmsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@Repository
public interface SmsEntityMapper {
    List<SmsEntity> smsList(@Param("toUser")String toUser,@Param("pageNum")Integer pageNum,
                            @Param("pagesize")Integer pagesize,@Param("status")String status);
    List<SmsEntity> smsListNum(@Param("toUser")String toUser,@Param("status")String status);
    SmsEntity smsEntity(@Param("id")String id);
    int addSms(SmsEntity smsEntity);
    int updateState(@Param("id")String id);
    int deleteSms(@Param("id")String id);
}
